package com.effectivcrm.view.form;

import java.util.ArrayList;
import java.util.List;
import org.thymeleaf.Arguments;
import org.thymeleaf.dom.Element;
import org.thymeleaf.dom.Node;
import org.thymeleaf.processor.element.AbstractMarkupSubstitutionElementProcessor;

public class FormElementProcessor extends
		AbstractMarkupSubstitutionElementProcessor {
	
	private final String MODEL = "model";
	private final String EDITMODE = "edit";
	

	public FormElementProcessor() {
		super("dynaform");
	}

	@Override
	protected List<Node> getMarkupSubstitutes(final Arguments arguments, final Element element) {
		System.out.println("------------ Getting markup for dynaform tag -----------");
		
		
		
		
		
		
		
		final List<Node> nodes = new ArrayList<Node>();
		
		return nodes;
	}

	@Override
	public int getPrecedence() {
		return 1000;
	}

}
